package com.lkd.feign;

import com.lkd.feign.fallback.OrderServiceFallbackFactory;
import com.lkd.vo.PayVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(value = "order-service", fallbackFactory = OrderServiceFallbackFactory.class)
public interface OrderService {
    @PostMapping("/order/requestPay")
    String requestPay(@RequestBody PayVO payVO);
}
